package com.jweb.framework.core.util;

import org.springframework.context.ApplicationContext;

/**
 * 修改人： Thomas
 * 修改内容：新增 
 * 类说明：保存ApplicationContex的单例
 */
public class ApplicationContextHolder {
	
	private static ApplicationContextHolder instance = new ApplicationContextHolder();
	
	private ApplicationContext applicationContext ;
	
	public ApplicationContext getApplicationContext(){
		return applicationContext ;
	}
	
	public void setApplicationContext(ApplicationContext applicationContext) {
		this.applicationContext = applicationContext ;
	}
	
	public static ApplicationContextHolder getInstance(){
		return instance ;
	}

}
